import request from '@/utils/request'

// 查询出入库记录列表
export function listInoroutrecord(query) {
  return request({
    url: '/order/inoroutrecord/list',
    method: 'get',
    params: query
  })
}

// 查询出入库记录详细
export function getInoroutrecord(id) {
  return request({
    url: '/order/inoroutrecord/' + id,
    method: 'get'
  })
}

// 修改出入库记录
export function updateInoroutrecord(data) {
  return request({
    url: '/order/inoroutrecord',
    method: 'put',
    data: data
  })
}
